// @ts-ignore
/* eslint-disable */
import request from '@/utils/request';

/** 新增柜组 POST /fds/store/addStCounter */
export async function addStCounterUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.addStCounterUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_106>('/fds/store/addStCounter', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 新增门店 POST /fds/store/addStore */
export async function addStoreUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.addStoreUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/store/addStore', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出门店柜组 POST /fds/store/exportStCounter */
export async function exportStCounterUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.exportStCounterUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<any>('/fds/store/exportStCounter', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出门店 POST /fds/store/exportStore */
export async function exportStoreUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.exportStoreUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<any>('/fds/store/exportStore', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取柜组信息 GET /fds/store/getStCounter */
export async function getStCounterUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getStCounterUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.StCounterDto>('/fds/store/getStCounter', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取柜组列表 POST /fds/store/getStCounterList */
export async function getStCounterListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getStCounterListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResultStCounterDto_>('/fds/store/getStCounterList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取门店信息 GET /fds/store/getStore */
export async function getStoreUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getStoreUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_107>('/fds/store/getStore', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取门店列表 POST /fds/store/getStoreList */
export async function getStoreListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getStoreListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResultStoreDto_>('/fds/store/getStoreList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改柜组信息 POST /fds/store/updateStCounter */
export async function updateStCounterUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateStCounterUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/store/updateStCounter', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改门店信息 POST /fds/store/updateStore */
export async function updateStoreUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateStoreUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_107>('/fds/store/updateStore', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
